package com.company.service.impl.compute;

import com.company.service.Compute;

/**
 * 除法
 */
public class Div extends Compute {
    public int computer(int n, int m) {
        System.out.println(n + " / " + m + " = ");
        return n / m;
    }

    public Div() {
        System.out.println("除法运算：");
    }
}
